package org.dinqy;

/**
 * @author armandino (at) gmail.com
 */
public final class Criterion {
    private final PredicateType predicateType;
    private final Object[] predicateArguments;
    
    public Criterion(PredicateType predicateType, Object...predicateArguments) {
        this.predicateType = predicateType;
        this.predicateArguments = predicateArguments;
    }
    
    public PredicateType getPredicateType() {
        return predicateType;
    }
    
    public Object[] getPredicateArguments() {
        return predicateArguments;
    }
    
    
}
